<div id="editGoodsDiv" class="layui-form-custom-panel">
	<form class="layui-form layui-form-pane" action="" lay-filter="goodsForm">
		<input type="hidden" name="id" autocomplete="off"	placeholder="请输入商品信息" class="layui-input">
		<div class="layui-form-item">
			<label class="layui-form-label">商品名称</label>
			<div class="layui-input-inline">
				<input type="text" name="name" autocomplete="off" placeholder="请输入商品名称" class="layui-input">
			</div>
		</div>
		
		<div class="layui-form-item">
			<label class="layui-form-label">商品分类</label>
			<div class="layui-input-block">
				<input type="text" name="categoryId" id="goodsTree" lay-filter="goodsTree" class="layui-input">
			</div>
		</div>
		
		<div class="layui-form-item">
			<label class="layui-form-label">商品信息</label>
			<div class="layui-input-block">
				<input type="text" name="goodsBrief" autocomplete="off"	placeholder="请输入商品信息" class="layui-input">
			</div>
		</div>
		
		<div class="layui-form-item">
			<label class="layui-form-label">商品单位</label>
			<div class="layui-input-inline">
				<input type="text" name="goodsUnit" autocomplete="off"	placeholder="请输入商品单位" class="layui-input">
			</div>
		</div>
		
		<div class="layui-form-item">
			<label class="layui-form-label">商品数量</label>
			<div class="layui-input-inline">
				<input type="text" name="goodsNumber" autocomplete="off"	placeholder="请输入商品数量" class="layui-input" lay-verify="number">
			</div>
		</div>
		
		<div class="layui-form-item">
			<label class="layui-form-label">商品价格</label>
			<div class="layui-input-inline">
				<input type="text" name="retailPrice" autocomplete="off"	placeholder="请输入商品价格" class="layui-input" lay-verify="number">
			</div>
		</div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否上新</label>
            <div class="layui-input-block">
                <input type="checkbox" {{if isNew===0}} checked="checked" {{/if}} name="isNew" lay-skin="switch"
                lay-filter="switchTest"
                lay-text="开启|关闭">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">人气推荐</label>
            <div class="layui-input-block">
                <input type="checkbox" {{if isHot===0}} checked="checked" {{/if}} name="isHot" lay-skin="switch"
                lay-filter="switchTest"
                       lay-text="开启|关闭">
            </div>
        </div>

        <div class="layui-form-item">
			<label class="layui-form-label">商品描述</label>
			<div class="layui-input-block">
				<textarea id="goodsDescription" name="goodsDesc" class="layui-textarea layui-hide"></textarea>
			</div>
		</div>
		
	</form>
</div>